package netjava;

public class ThreadUtil {
    public static void sleep(long millis){
        try {
            Thread.sleep(millis);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

    public static void sleepSecond(long second){
        ThreadUtil.sleep(second*1000L);
    }
}
